[이준희-14주차 알고리즘 스터디]#23
Open
JHLEE325 wants to merge 16 commits intoSSAFY13th-algorithm:junhee325/week14from
Open
[이준희-14주차 알고리즘 스터디]#23JHLEE325 wants to merge 16 commits intoSSAFY13th-algorithm:junhee325/week14from
JHLEE325 wants to merge 16 commits intoSSAFY13th-algorithm:junhee325/week14from
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 싸피 15반 알고리즘 스터디 14주차 [이준희]
📌 문제 풀이 개요
✅ 문제 해결 여부
💡 풀이 방법
문제 1: 양팔저울
문제 난이도
골드 3
문제 유형
DP
접근 방식 및 풀이
추를 올리거나 반대쪽에 올리거나 안올리거나 3가지 방식으로 dfs활용하여 풀이하였습니다.
문제 2: 제곱수의 합
문제 난이도
실버 2
문제 유형
DP
접근 방식 및 풀이
어떤 수를 구성하는 최소갯수의 제곱수를 구하는 문제였습니다.
arr[n-i*i] 에 1을 더하는 방식으로 dp 배열을 구해 풀었습니다.
문제 3: 로봇 청소기
문제 난이도
골드 5
문제 유형
시뮬레이션
접근 방식 및 풀이
로봇청소기의 작동조건에 따라 시뮬레이션을 구현하여 풀이하였습니다.
문제 4: 연구소 3
문제 난이도
골드 3
문제 유형
그래프
접근 방식 및 풀이
bfs를 활용하며 전염시키는 각 칸에 도착하는 시간을 저장하는 배열을 사용하고
bfs 완료 후에 모든 칸이 전염되었으면 결과값을 갱신하는 식으로 구현했습니다.
초기에 활성화 되는 바이러스는 조합을 이용하여 찾고 그 안에서 bfs 탐색하였습니다.
문제 5 : 타일 채우기
문제 난이도
골드 4
문제 유형
DP
접근 방식 및 풀이
타일의 칸을 직접 그려보며 점화식을 찾아서 dp 구현했습니다.